10 'MANYIF.BAS - Demonstration of stacking multiple IF statements in BASIC
20 'From the GWBT04 GW-BASIC Tutorial Series
30 'MANYIF will ask for a number between one and twenty, and tell you if the
40 'number is MORE than 10, LESS than 10, or EQUAL to 10
50 '
60 'Start of main program:
70 INPUT "Enter a number between one and twenty";TESTNUMBER
80 IF TESTNUMBER < 10 THEN PRINT "Your number is less than ten!" ELSE IF TESTNUMBER = 10 THEN PRINT "Your number is equal to ten!" ELSE PRINT "Your number is greater than ten!"